package cn.momoshenchi.medicine.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/7/14 - 10:28
 */
public class Drug
{
    @NotNull(message = "药品Id不能为空")
    private  Integer drugId;

    /**
     * 需要注意这里的剂量和药品里面的剂量名称相同,但是含义不一样
     */
    @NotNull(message = "用药剂量不能为空")
    private BigDecimal dose;

    @NotBlank(message = "频次不能为空")
    private  String frequencyName;

    @NotBlank(message = "药品用法不能为空")
    private  String usageName;

    @NotNull(message = "用药天数不能为空")
    private  Integer takeDays;

    @NotNull(message = "总量不能为空")
    private  BigDecimal quantity;

    private  String remark;

    private BigDecimal price;

    private  String specification;

    private  String packUnit;

    private  String doseUnit;

    private  String drugName;

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public String getSpecification()
    {
        return specification;
    }

    public void setSpecification(String specification)
    {
        this.specification = specification;
    }

    public String getPackUnit()
    {
        return packUnit;
    }

    public void setPackUnit(String packUnit)
    {
        this.packUnit = packUnit;
    }

    public String getDoseUnit()
    {
        return doseUnit;
    }

    public void setDoseUnit(String doseUnit)
    {
        this.doseUnit = doseUnit;
    }

    public String getDrugName()
    {
        return drugName;
    }

    public void setDrugName(String drugName)
    {
        this.drugName = drugName;
    }

    public BigDecimal getDose()
    {
        return dose;
    }

    public void setDose(BigDecimal dose)
    {
        this.dose = dose;
    }

    public Integer getDrugId()
    {
        return drugId;
    }

    public void setDrugId(Integer drugId)
    {
        this.drugId = drugId;
    }

    public String getFrequencyName()
    {
        return frequencyName;
    }

    public void setFrequencyName(String frequencyName)
    {
        this.frequencyName = frequencyName;
    }

    public String getUsageName()
    {
        return usageName;
    }

    public void setUsageName(String usageName)
    {
        this.usageName = usageName;
    }

    public Integer getTakeDays()
    {
        return takeDays;
    }

    public void setTakeDays(Integer takeDays)
    {
        this.takeDays = takeDays;
    }

    public BigDecimal getQuantity()
    {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity)
    {
        this.quantity = quantity;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}
